//
//  ZoomView.h
//  YCSchool
//
//  Created by yanglinxia on 16/5/3.
//  Copyright © 2016年 yanglinxia. All rights reserved.
//  自定义可缩放的imageView

#import <UIKit/UIKit.h>

@interface ZoomView : UIScrollView
//内容视图
@property (nonatomic, strong) UIView *zoomedView;
//缩放视图原始尺寸
@property (nonatomic, assign) CGSize zoomedViewSize;
//双击时放大或者缩小
@property (nonatomic, strong) UITapGestureRecognizer *tapGestureRecognizer;
//禁止缩放
@property (nonatomic, assign) BOOL canZoomed;

//恢复到常状
- (void)normal;
//缩放图片
- (void)zoomImage:(UIImage *)image;
//缩放网络图片
- (void)zoomImageWithURLString:(NSString *)urlString;
//缩放网络图片
- (void)zoomImageWithURLString:(NSString *)urlString placeholderImage:(UIImage *)image;


@end
